package com.lovo.cloud.feginservice;

import com.lovo.cloud.model.dos.OrderDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author luo
 * @description
 * @date 2020/12/6 17:59
 */
@FeignClient("order8001")
public interface OrderService {

    @GetMapping("/order")
    public String byTicket(OrderDO orderDO);

    @GetMapping("/update")
    public String updateOrder(String orderNum,Boolean type);

}
